package com.chinamoney.wppm.entity;

import java.io.Serializable;
import java.util.Date;

import org.activiti.engine.task.Task;

public class TaskObj implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	
	private String name;
	
	private String instanceId;
	
	private Date createTime;
	
	private String assignee;

	public TaskObj(Task task) {
		super();
		this.id = task.getId();
		this.name = task.getName();
		this.instanceId = task.getProcessDefinitionId();
		this.createTime = task.getCreateTime();
		this.assignee = task.getAssignee();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getAssignee() {
		return assignee;
	}

	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
	
}
